package com.tiancheng.trade.authserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients(basePackages = {"com.tiancheng.trade.authserver", "com.tiancheng.trade.commom"})
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.tiancheng.trade.authserver", "com.tiancheng.trade.commom", "com.tiancheng.admintoken"})
public class AuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthServerApplication.class, args);
    }

}
